package cn.hnedu.util;

import org.apache.struts.util.MessageResourcesFactory;
import org.apache.struts.util.MessageResources;

public class EncodeMessageResourcesFactory
    extends MessageResourcesFactory {

  /**
   * Create and return a newly instansiated <code>MessageResources</code>.
   * This method must be implemented by concrete subclasses.
   *
   * @param config Configuration parameter(s) for the requested bundle
   */
  public MessageResources createResources(String config) {

    return new EncodeMessageResources(this, config, this.returnNull);

  }

}
